page.tsx 858 B

12345678910111213141516171819202122232425262728293031
  1. "use server";
  2. import { getTranslations } from "next-intl/server";
  3. import { Suspense } from "react";
  4. import Form from "../components/Form";
  5. import GoogleCom from "../components/GoogleCom";
  6. import Adbox from "./adbox";
  7. import "./index.scss";
  8. import LoginService from "./LoginService";
  9. const Login = async () => {
  10. const t = await getTranslations("LoginPage");
  11. return (
  12. <>
  13. <GoogleCom />
  14. <Form type={"login"} />
  15. <div className={"text-center"}>
  16. <span className={"mr-[20px] text-[14px] text-[#fff]"}>{t("childTips")}</span>
  17. <span className={"iconfont icon-a-18 text-[red]"}></span>
  18. </div>
  19. <Adbox></Adbox>
  20. <Suspense fallback={<div></div>}>
  21. <LoginService />
  22. </Suspense>
  23. </>
  24. );
  25. };
  26. export default Login;